#ifndef _MODEL_H_
#define _MODEL_H_

#include "Math.h"

class Shader;
struct Vertex;


class Model
{
public:
	Model() {}
	~Model() {}

	void Init ();
	void InitFromArray(GLuint nVertex, GLuint nIndex, Vertex * vertexData, GLuint * indexData);
	void Bind (Shader * shader);
	void UnBind ();
	void CleanUp ();

public:
	GLuint m_vboId;
	GLuint m_iboId;
	GLuint m_nIndices;
};

typedef	std::vector<Model *>	ModelVector;

#endif